package com.yunsoft.notice.service.db.dao.impl;

import com.fld.platform.db.mysql.dao.impl.MyBatisBaseDaoImpl;
import com.yunsoft.notice.service.db.dao.NotifyRecordDao;
import com.yunsoft.notice.service.db.entity.NotifyRecord;
import com.yunsoft.notice.service.db.mapper.NotifyRecordMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>NotifyRecord for jbd_notify_record</p><br />
 * 消息发送记录
 * @author summerrains
 * @Date 2020-04-01 16:23:36
 */
@Service("notifyRecordDao")
public class NotifyRecordDaoImpl extends MyBatisBaseDaoImpl<NotifyRecordMapper, NotifyRecord> implements
    NotifyRecordDao {


    @Override
    public List<NotifyRecord> findByRequestId(String requestId) {
        return getBaseMapper().selectByRequestId(requestId);
    }
}
